{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}

{% block title %}语音识别模型基准测试系统{% endblock %}

{% block page_content %}
<div class="page-header">
    <p><a href="{{ url_for('main.get_measure_tags',measurement=measurement) }}">返回上页</a></p>
    <p>表{{ measurement }} 标签{{ tag }}</p>
    {% if times|length %}
    <div class="row">
        <table class="table">
            <thead>
                <tr>
                    <th></th>
                    <th>时间</th>
                    {% for field in fields %}
                    <th>{{ field }}</th>
                    {% endfor %}
                </tr>
            </thead>
            <tbody>
                {% for i in range(times|length) %}
                <tr>
                    <td>{{ i+1 }}</td>
                    <td>{{ times[i]+timedt }}</td>
                    {% for field in fields %}
                    <td>{{ points_data[times[i]][field] }}</td>
                    {% endfor %}
                </tr>
                {% endfor %}
            </tbody>
        </table>
    </div>
    {% else %}
    <p>表中无数据</p>
    {% endif %}
    </div>
    {% endblock %}